home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Utilities / Text Utils / Text Editor Patches 1.5.2 ƒ / Text Editor Patches / Text Editor Patches.rsrc / TEXT_128_TEXThelp.txt < prev    next >
Encoding:
Text File  |  1995-03-17  |  9.8 KB  |  163 lines

  1.     
  2. This application applies various patches to other applications or to desk accessories.  This approach gives more control over conflicts and memory bloat than extending application behavior by adding extensions to the system.
  3.  
  4. The patching process adds certain resources to the application.  No existing resources are modified, so it is easy to remove the patches if desired.
  5.  
  6.  
  7. Installation    
  8.  
  9. If you use GateKeeper, turn it off before using the patcher.  Some other virus detection programs might also think that what the patcher does is suspicious.  Disinfectant won‚Äôt complain.
  10.  
  11. Set the checkboxes the way you want them, then click the Patch button.  You will see a standard directory dialog box, which you should use to select the application you want to modify.  If all goes well, then in a few seconds you will see an alert saying that the patches have been applied successfully.
  12.  
  13. If you should change your mind about the optional settings, just change the checkboxes and patch again.  It is not necessary to unpatch first.  Any patches that are unchecked will automatically be removed.
  14.  
  15. The Unpatch button removes all of my patches from a selected file, regardless of the checkbox settings.
  16.  
  17.  
  18. Compatibility    
  19.  
  20. The patches have been tested with ASLEdit+, BBEdit, THINK C, and MetroWerks C.  The HyperCard patch has been tested with HyperCard 2.1.  They may work with many other programs, but proceed at your own risk.
  21.  
  22. The patches can be used either with System 7 or with System 6/MultiFinder (except for THINK Link, as noted earlier) but should not be used with System 6 without MultiFinder.
  23.  
  24. These patches are not compatible with PopUpFuncs, because it uses the same mechanism to add features to an application.  If such a product is installed, the patcher will warn you, and you should normally decide not to do the patch.
  25.  
  26. The patches reportedly are compatible with CMaster, except that the word wrapping icon will fail to appear.
  27.  
  28. If you use ClickChange, it may prevent the word wrap icon from appearing unless you exclude the patched applications from ClickChange.
  29.  
  30. If you use the ‚ÄúSimple Term‚Äù tool in ASLEdit+, you probably will not want to use the matched pair patches, because ‚ÄúSimple Term‚Äù does not support the arrow keys.
  31.  
  32. The page up and down patch behaves a bit strangely in DiskTop 4.5.  Namely, the thumb of the scroll bar may jump to an incorrect position, depending on where you left the mouse cursor parked.
  33.  
  34. I hear that the Windows patch does not work in EndNote Plus.
  35.  
  36.  
  37. Distribution    
  38.  
  39. These Text Editor Patches and this installer are copyrighted freeware.  They may not be sold or offered for sale, or included with another software product offered for sale, except with the express written permission of the author.  They may be redistributed, so long as they remain unchanged.  Of course, if you want to send me some money for it, you can.
  40.  
  41. You should not upload a patched version of a copyrighted application to any BBS without permission from the author of the application.
  42.  
  43. This program is provided as is, and is not guaranteed.
  44.  
  45.  
  46. Author‚Äôs Address    
  47.  
  48. E-mail:
  49. CompuServe: 76367,2271
  50. America Online: JWWalker
  51. Internet: walkerj@math.scarolina.edu
  52.  
  53. Hard mail:
  54. James W. Walker
  55. 3200 Heyward Street
  56. Columbia, SC 29205
  57.  
  58.  
  59. Acknowledgements    
  60.  
  61. Thanks to Larry Gerndt for the idea for THINK Link, and to Susan Lesch for beta testing and interface advice.  The Emacs Keys patch is by Adolfo Villafiorita.
  62.  
  63. ¬†    
  64. The Word Wrap Patch    
  65.  
  66. Two of the nicest free text editors, BBEdit Lite and ASLEdit+, lack automatic word wrapping, as does the text editor built into THINK C.  So I designed a hack that adds a simple form of word wrapping to these editors.
  67.  
  68. When the patch is installed, each title bar of an editing window will contain a small icon indicating whether the word wrapping feature is on or off.  Click on the icon to change its state.  When word wrapping is on, then when the insertion point gets close enough to the right edge of the window, the next space character will be changed into a return character.  If you happen to type a very long word near the margin, or if you type fast on a slow machine, it is possible that you will type past the margin.  This is not a perfect word-wrapping method, but it is the best I can do without access to the application‚Äôs internal data structures.
  69.  
  70. You can prevent an individual space character from being turned into a carriage return by holding down the shift key as you type it.
  71.  
  72. This patch can also be used with a DA editor, such as the DA form of ASLEdit+, if the DA has been installed directly into an application or has been ‚Äúapplication-ized‚Äù under System 7.
  73.  
  74.  
  75. The Page Up and Down Patch    
  76.  
  77. For text editors that do not implement the page up and page down buttons on the extended keyboard, this patch converts those keystrokes into the equivalent clicks on the vertical scroll bar.  If the window happens to contain more than one vertical scroll bar, the patch might click the wrong one.
  78.  
  79.  
  80. The Pair (), [], {} Patch    
  81.  
  82. Generate parentheses, brackets, and braces in pairs.  For instance, if you type a left parenthesis, then a right parenthesis and left arrow will also be inserted for you, so that the insertion point will be poised between the matched pair.
  83.  
  84.  
  85. The Singles Patch    
  86.  
  87. When using one of the pairs patches above, sometimes you want to type the left member of the pair all by itself.  This patch allows you to do so by pressing the control key as well as the usual keys.  For instance a left parenthesis would be control-shift-9, assuming the U.S. keyboard layout.
  88.  
  89.  
  90. The Forward Delete Patch    
  91.  
  92. This patch implements the forward delete key on extended keyboards by changing it to a right arrow followed by an ordinary delete.
  93.  
  94.  
  95. The Windows Patch    
  96.  
  97. This patch adds a Windows menu to an application that lacks one, such as Finder or SimpleText.  Remember that you will not be able to patch Finder while it is running.  Either quit the Finder, if you know how to do that, or boot from a different startup disk.
  98.  
  99.  
  100. The Color Menu Patch    
  101.  
  102. This patch adds a color menu to SimpleText, for adding color as a text style.  It may also work on other editors that edit styled text and have the same 32K limitation, but I can‚Äôt think of any other such editor that lacks a color menu.
  103.  
  104. There is one problem with how it works:  When you apply a color, the selection flashes as the underline style is applied and removed.  This is just a strange way for my patch to convince SimpleText that the text has been modified, so that SimpleText won‚Äôt neglect to save the changes to disk.
  105.  
  106.  
  107. The SimpleText Style Save Patch    
  108.  
  109. I was bothered by the fact that when you save a file in SimpleText, the style changes do not get written to disk.  They do get written when you close the file, but I got into trouble by stuffing a file while it was open for editing.  So I wrote this patch to ensure that as soon as you hit ‚ÄúSave‚Äù, the style changes will be written to disk.
  110.  
  111.  
  112. The Pair $$ Patch    
  113.  
  114. Generate dollar signs in pairs as with the other pairs patch, for those typing TeX source code.
  115.  
  116.  
  117. The Emacs Keys Patch    
  118.  
  119. For those whose fingers were trained by Emacs, this translates some of the most common emacs keystrokes into keystrokes that are understood by BBEdit.  The code was contributed by Adolfo Villafiorita.  The keystrokes are:
  120.  
  121. ^A        beginning of line
  122. ^E        end of line
  123. ^F        forward character
  124. ^B        backward character
  125. ^P        previous line
  126. ^N        next line
  127. ^D        forward delete char
  128. ^K        kill to the end of line
  129. ^V        next page
  130. OPTION V  previous page
  131.  
  132. The control-K keystroke is translated into a sequence of 3 keystrokes (cmd-shift-right arrow, shift right arrow, cmd-x) so it is somewhat slow.  Control-A and control-E are translated into the standard Macintosh keystrokes command-left-arrow and command-right-arrow, so applications which fail to handle the latter keystrokes will also fail to handle control-A and control-E.
  133.  
  134.  
  135. The TEClip Patch    
  136.  
  137. Some applications that use monostyled text do not do a good job of keeping their internal clipboard synchonized with the system clipboard.  The symptom is that what you paste is not always what you copied to the clipboard.  In particular I wrote this to fix problems with the Retriever Light DA, but other programs may benefit.
  138.  
  139. For programmers:  This patches TECopy, TECut, and TEPaste.  On the tail of TECopy and TECut it calls ZeroScrap and TEToScrap.  On the head of TEPaste it calls TEFromScrap.
  140.  
  141.  
  142. The HyperCard Cursor Patch    
  143.  
  144. For some reason, the text cursor in HyperCard, prior to version 2.2, had its ‚Äúhot spot‚Äù in an unusual place, making it more difficult to select some text.  The patch puts the ‚Äúhot spot‚Äù back in the normal position.  If you have version 2.2 or later, you do not need this patch.
  145.  
  146.  
  147. The Bell for MATLAB Patch    
  148.  
  149. I wrote this one so that I could make a procedure in Student MATLAB sound a beep.  When a procedure types out a control-G character (ASCII BEL) this patch replaces the character by a beep.
  150.  
  151.  
  152. The THINK Link Patch    
  153.  
  154. With this patch installed, control-double-click on a trap name, and THINK Reference 1.0 will launch or come to the front and will display the page documenting that trap.  This feature requires System 7, and does not work with ASLEdit+.  If you have THINK Reference 2.0, you should not use this patch, but rather get my ‚ÄúReference Link‚Äù extension.
  155.  
  156.  
  157. The ASL Font Patch    
  158.  
  159. Change the default font used in ASLEdit+ from ASLFont+ to Monaco.
  160.  
  161. An ASLFont+ patch is provided for personal use only.  You should not change the default font of ASLEdit+ if you have any intention of using KanjiTalk or the ASLFont+.  Although you can set the font to ASLFont+ even with the patch in place, that font choice will not be respected the next time you open the document.
  162.  
  163. If you want ASLEdit+ to use a different default font than Monaco, you will have to use ResEdit either on the patched application or on this installer.  Edit the 'JWfn' resource.  It contains a length byte followed by a font name.